
cc.Class({
    extends: cc.Component,

    properties: {
        starFrameArray:[cc.Vec2]
    },

    start () {

    },


    init(mousesNum){




        var spineBoomNode=cc.find("Canvas/backgroundtop/spinnormal");

        spineBoomNode.active=true;

        let spine = spineBoomNode.getComponent(sp.Skeleton);

        let track = spine.setAnimation(1, "Normal disappear", false);

    
       
        spineBoomNode.x =this.starFrameArray[mousesNum].x; 
    
        spineBoomNode.y =this.starFrameArray[mousesNum].y;

    }

    // update (dt) {},
});
